# SPDX-License-Identifier: BSD-3-Clause
# Copyright(c) 2017 Intel Corporation

if is_linux
	cflags += '-DLINUX'
else
	cflags += '-DBSD'
endif

sources = files('rte_eventdev.c',
		'rte_event_ring.c',
		'eventdev_trace_points.c',
		'rte_event_eth_rx_adapter.c',
		'rte_event_timer_adapter.c',
		'rte_event_crypto_adapter.c',
		'rte_event_eth_tx_adapter.c')
headers = files('rte_eventdev.h',
		'rte_eventdev_pmd.h',
		'rte_eventdev_pmd_pci.h',
		'rte_eventdev_pmd_vdev.h',
		'rte_eventdev_trace.h',
		'rte_eventdev_trace_fp.h',
		'rte_event_ring.h',
		'rte_event_eth_rx_adapter.h',
		'rte_event_timer_adapter.h',
		'rte_event_timer_adapter_pmd.h',
		'rte_event_crypto_adapter.h',
		'rte_event_eth_tx_adapter.h')
deps += ['ring', 'ethdev', 'hash', 'mempool', 'mbuf', 'timer', 'cryptodev']
